package io.gitee.zhangbinhub.admin.workflow.base

import io.gitee.zhangbinhub.acp.boot.exceptions.WebException
import org.flowable.engine.runtime.ProcessInstance
import org.flowable.task.api.Task

interface BaseWorkFlowNotify {
    @Throws(WebException::class)
    fun doProcessNotify(processInstance: ProcessInstance, userIdList: List<String>)

    @Throws(WebException::class)
    fun doTaskNotify(processInstance: ProcessInstance, task: Task, userIdList: List<String>)
}